<?php

namespace app\index\service;


class BaseService
{
    protected $middleware = [];
    protected $appId;
    protected $secret;
    protected $encodingAesKey;
    protected $token;
    protected $cpolarUrl;
    
    public function __construct()
    {
        $this->appId = config('wechat.app_id');
        $this->secret = config('wechat.app_secret');
        $this->encodingAesKey = config('wechat.app_encodingAesKey');
        $this->token          = config('wechat.app_token');
        $this->cpolarUrl      = config('wechat.cpolar_url');
    }
}
